
import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter)

import simulation from "../components/simulation.vue"
import paihang from"../components/paihang.vue"
import danhepaihang from"../components/cpupaihang.vue"
import duohepaihang from"../components/cpusinglepaihang.vue"
import atxpaihang from "../components/atxpaihang copy.vue"
import memorypaihang from "../components/memorypaihang.vue"

export default new VueRouter({
    routes:[
        {
            path:'/',
            name:'simulation',
            component:simulation,
            children:[
               { path:'/paihang',
               name: 'paihang',
               component:paihang
            },
            { path:'/danhepaihang',
            name: 'danhepaihang',
            component:danhepaihang
            },
             { path:'/duohepaihang',
               name: 'duohepaihang',
               component:duohepaihang
             },
             { path:'/atxpaihang',
             name: 'atxpaihang',
             component:atxpaihang
             },
             { path:'/memorypaihang',
             name: 'memorypaihang',
             component:memorypaihang
             },
            ]
        },
        // {
        //     path:'/',
        //     name:'paihang',
        //     component:paihang
        // },
        // // {
        // //     path:'/',
        // //     name:'Loginmask',
        // //     component:Loginmask
        // // },
        // {
        //     path:'/zhuce',
        //     name:'ZhuceVue',
        //     component:ZhuceVue
        // },
        // {
        //     path:'/todo',
        //     name:'Todo',
        //     component:Todo
        // },
        // {
        //     path:'/geren',
        //     name:'Geren',
        //     component:Geren
        // },
    ]
})
